﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Yokagames.Models
{
    /// <summary>
    /// 游戏网站业务模型类
    /// </summary>
    public class Games
    {
        public Guid Id { get; set; }
        public string Name { get; set; }//游戏名称
        public string Gametype { get; set; }//游戏类型
        public string Gameplatform { get; set; }//游戏平台
        public string Developers { get; set; }//开发商

        public DateTime IssuingDate { get; set; }//发行日期

        public string Medium { get; set; }//媒    介

        public Games()
        {
            this.Id = Guid.NewGuid();
            this.IssuingDate = DateTime.Now;
        }
        public Games(Games model)
        {
            this.Id = model.Id;
            this.Name = model.Name;
            this.Gametype = model.Gametype;
            this.Gameplatform = model.Gameplatform;
            this.Developers = model.Developers;            
            this.IssuingDate = model.IssuingDate;
            this.Medium = model.Medium;
            

        }
    }
}
